/*
 * @Description:售票测试类
 * 
 * @Author: rendc
 * 
 * @Date: 2025-08-20 10:00:14
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-08-20 10:03:15
 */
public class TestTicket {

  public static void main(String[] args) {
    Ticket t = new Ticket();
    // 创建售票口
    Thread t1 = new Thread(t, "1号窗口");
    Thread t2 = new Thread(t, "2号窗口");
    Thread t3 = new Thread(t, "3号窗口");
    // 开始售票
    t1.start();
    t2.start();
    t3.start();
  }
}